/**
 * @author Mike
 * @time 2017/04/27.
 */

import React from 'react'; // 引入react
import { Route, IndexRedirect } from 'react-router'; // 引入react路由

import Main from '../views/Main/index.jsx';
//import Home from '../views/Home/index.jsx';
import Home from '../containers/home';
//import About from '../views/About/index.jsx';


export default (
  <Route path="/">
    //默认路由(首页)
    <IndexRedirect to="home" />
    //母版页App
    <Route component={Main}>
     <Route path="home" component={Home} />
    </Route>
  </Route>
);